package com.sgb.contract.model;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * 描述：审批申请-申请部门实体类
 *
 * @author qiangHeNooo
 * <p>
 * 时间：2021.11.03
 */
public class OrganizationDepartmentBean implements IPickerViewData, Serializable {

    /**
     * value : 卖方送达验收
     * key : 1
     */
    @SerializedName(value = "name", alternate = {"value"})
    private String name;

    @SerializedName(value = "no", alternate = {"key"})
    private String no;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }
}
